package ru.study.thinkin.chapter7;

public class SpaceShip  extends SpaceShipControl {

	private String name;

	public SpaceShip(String name) {
		this.name = name;
	}

	public String toString() {
		return name;
	}

	public static void main(String[] args) {
		SpaceShip protector = new SpaceShip("PROTECTOR");
		protector.forward(100);

	}

}
